<?php
/**
 * author: heimuya
 */
 namespace Home\Model;
 use Think\Model\ViewModel;
 
class CasetypeViewModel extends ViewModel {
     
    protected $viewFields = array(
        'case'  		=>array('type', '_as'=>'c', '_type' => 'left'),
		'caseType'  	=>array('id', 'name', '_as'=>'ct','_on'=>'ct.id=c.type')
	);
	
 }
 